import { EChartsOption } from 'echarts'
import { EChartsProps } from 'type'
import { MapEchartTransformedProps } from 'type/map-echart'

function echartOptions(transformProps: MapEchartTransformedProps): EChartsProps {
  const { width, height } = transformProps
  const echartOptions: EChartsOption = {
    series: {

    }
  }
  return {
    width,
    height,
    echartOptions,
  }
}

export default echartOptions